<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Bootstrap 实例 - 默认的分页</title>
    <script src="js/jquery-1.9.1.min.js"></script>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script>


        function fun111() {
            var href1 = document.getElementById("asas").href;
           alert( $(this).href.val());
        }
    </script>
</head>
<body>

<ul class="pagination">
    <li><a href="asdasd" onclick="fun111()" id="asas">1</a></li>
    <li><a href="#">2</a></li>
    <li><a href="#">3</a></li>
    <li><a href="#">4</a></li>
    <li><a href="#">5</a></li>
    <li><a href="#">&raquo;</a></li>
</ul>
<br/>
<br/>
<br/>
<br/>
<input type="checkbox" value="1"/>12
<input type="checkbox" value="2"/>12
</body>
</html>